<?php
/**
 * 登录灰
 */
class RegController extends Controller
{
	
	public function index()
	{
		$db = new Db('user');

		$data = $db->select();

		var_dump($data);

		$this->assgin('code',90809890);

		$this->display();
	}

	public function check()
	{

		echo "注册检测数据";
	}

	public function getcode()
	{
		$code = new Code();
		$code->entry();
	}
}